package com.github.ykrank.androidtools.service

import com.google.gson.annotations.SerializedName
import io.reactivex.Observable
import okhttp3.ResponseBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {


    @POST("api_notify/alipay2")
    fun uploadAlipayBillList(@Body billbody: BillBody): Observable<ResponseBody>
}


class BillBody(@SerializedName("billList") var billList: List<Bill>)



class Bill(@SerializedName("memo")
           var memo: String,
           @SerializedName("fee")
           var fee: String,
           @SerializedName("tradeNo")
           var tradeNo: String)




